﻿//-----------------------------------------------------------------------
// <copyright file="PopupConfig.cs" company="n.a.">
//     Copyright Dave999. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
[module: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "To be returned to .")]

namespace DbView
{
	using System;
	using System.Collections.Generic;
	using System.Text;

	/*
		// Structure for pop-ups.
		//
		struct PopupConfig
		{
			public delegate void Handler(object sender, EventArgs args);
			public string Title;
			public Handler Function;
			public MainPresenter.popupindex Index;

			// Previous attach a function to a title (for popups unknown to presenter
			public PopupConfig(String title, Handler function)
			{
				Title = title;
				Function = function;
				// set index to extension to prevent presenter from resolving this.
				Index = MainPresenter.popupindex.ExtensionPopup;
			}

			// New stype attach a popup index to a title and let the presenter
			// resolve the index to the handler
			public PopupConfig(String title, MainPresenter.popupindex index)
			{
				Title = title;
				Index = index;
				Function = null;
			}

		}
	*/
}
